<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Data 属性</title>
<style type="text/css">
<!--
body { margin:0 auto; font-size:12px; line-height:150%; font-family:Verdana, Arial, Helvetica, sans-serif;}
a:link, a:active, a:visited {color: #0000FF;text-decoration: underline;}
a:hover {color: #0066FF;text-decoration: underline;}
ul, li { margin:0; padding:0; list-style:none; display:inline;}

	#header { width:100%; background-color:#9CF; border-bottom:1px solid #999;}
		#header .headertxt { padding:5px;}
	
	#main { width:96%; margin:0 auto; margin-top:20px;}
		#main #name { font-size:16px; color:#03F; border-bottom:2px solid #03F; padding-bottom:5px; margin-bottom:10px;}
		#main #content { font-size:14px; margin-bottom:20px;}
		#main .title, #footer .title { font-size:12px; font-weight:bold; color:#03F; }
		#main .code { padding:5px 30px;}
		#main .codem { color:#F60;}
		#main .codeparam { color:#666; font-style:italic;}
		#main .codetitle { color:#666; font-style:italic; width:1px;}
		#main .codetype { color:#666; font-style:italic;}
		#main .codenote { }
		#main .codeerror { color:#900;}
		#main td {padding:3px;}
	
	#footer { width:96%; margin:0 auto; margin-top:10px;}
		#footer .nav { padding:5px 0; border-bottom:1px solid #999;}
		#footer .mail { padding:5px 0;}
		#footer .copyright { }
	
	/** NORMAL CODE HIGHLIGHT **/
	#normal { border:1px solid #ccc;}
	#normal .hcode { font-family: Courier New, Courier, monospace; line-height:19px; }
	#normal .hline { color:#333; font-style:italic; background-color:#ccc; border-right:3px solid #0C0; margin-right:8px; padding:2px 10px;}
	#normal .hacl { color:#F60;}
	#normal .hver { color:#00F;}
	#normal .hconst { color:#099;}
	#normal .hparam { color:#060;}
	#normal .hnumber { color:#F00;}
	#normal .hfunction { color:#906;}
	#normal .hnote { color:#999;}
	#normal .hresult { background-color:#000; color:#1dc116;}
	
	/** FADETOGREY HIGHLIGHT **/
	#fadetogrey { border:1px solid #000;}
	#fadetogrey .hcode { font-family: Courier New, Courier, monospace; line-height:19px; background-color:#121212; color:#FFF;}
	#fadetogrey .hline { color:#afafaf; font-style:italic;border-right:3px solid #36C; margin-right:8px; padding:2px 10px;}
	#fadetogrey .hacl { color:#F60;}
	#fadetogrey .hver { color:#d01d33;}
	#fadetogrey .hparam { color:#e3e658;}
	#fadetogrey .hnumber { color:#F00;}
	#fadetogrey .hfunction { color:#906;}
	#fadetogrey .hnote { color:#696854;}
-->
</style>
</head>

<body>
<div id="header"><div class="headertxt">Boyle.ACL 类库文档 (VBScript)</div></div>
<div id="main">
	<div id="name">System.Array.Data 属性</div>
    <div id="content">设置源数组为简单数组并赋值，此属性可读可写</div>
<div id="method">
   	  <div class="title">语法</div>
        <div class="code"><span class="codem">System.Array.Data</span>&nbsp;=&nbsp;<span class="codeparam">Value</span></div>
  </div>
	<div id="param">
    	<div class="title">参数</div>
        <div class="code">
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td class="codetitle">Value</td>
              <td class="codetype">String(字符串) 或 Array(数组)</td>
            </tr>
            <tr>
              <td class="codetitle">&nbsp;</td>
              <td class="codenote">可选。可以是数组，也可以是以空格分隔的字符串。</td>
            </tr>
          </table>
      </div>
    </div>
	<div id="return">
    	<div class="title">返回值</div>
        <div class="code"><span class="codetype">Array(数组)</span></div>
    </div>
	<div id="notes">
    	<div class="title">注释</div>
        <div class="code">创建一个对象后，通过此方法赋值，该对象就是普通数组。</div>
  </div>
	<div id="sample">
    	<div class="title">示例</div>
        <div class="code">
        	<div id="normal">
           	  	<div class="hcode"><span class="hline">&nbsp;1.</span><span class="hver">Dim</span> ArrayX</div>
   	  	  	    <div class="hcode"><span class="hline">&nbsp;2.</span><span class="hnote">'// 创建一个对象</span></div>                
   	  	  	    <div class="hcode"><span class="hline">&nbsp;3.</span><span class="hver">Set</span> ArrayX = <span class="hacl">System.Array.New</span></div>
                <div class="hcode"><span class="hline">&nbsp;4.</span><span class="hnote">'// 通过以空格分隔的字符串赋值</span></div>
                <div class="hcode"><span class="hline">&nbsp;5.</span>ArrayX.Data = <span class="hparam">&quot;中 华 人 民 共 和 国&quot;</span></div>
                <div class="hcode"><span class="hline">&nbsp;6.</span><span class="hnote">'// 通过数组赋值</span></div>
                <div class="hcode"><span class="hline">&nbsp;7.</span><span class="hnote">'// ArrayX.Data = Array(&quot;中&quot;, &quot;华&quot;, &quot;人&quot;, &quot;民&quot;, &quot;共&quot;, &quot;和&quot;, &quot;国&quot;)</span></div>
              	<div class="hcode"><span class="hline">&nbsp;8.</span><span class="hnote">'// 取出为普通数组</span></div>
                <div class="hcode"><span class="hline">&nbsp;9.</span><span class="hver">Dim</span> arr: arr = ArrayX.Data</div>
          </div>
        </div>
  </div>
</div>
<div id="footer">
  <div class="title">请参见</div>
	<div class="nav"><a href="index.html">System.Array类</a>&nbsp;|&nbsp;<a href="../index.html">System.Common基类</a></div>
	<div class="mail"><a href="mailto:boyle7@qq.com">发送有关此主题的意见</a></div>
    <div class="copyright">Boyle.ACL v4.0.121028 类库文档. Copyright (C) 2006-2012 Boyle.</div>
</div>

</body>
</html>
